package com.jk.smartelderlycare.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;
@Data
@ToString
@TableName(value = "sys_dynamics")
public class SysDynamics implements Serializable {
    private static final long serialVersionUID = 3338617344764266218L;
    @TableId(value = "dynamics_id", type = IdType.AUTO)
    private Long dynamicsId;

    private String dynamicsContent;

    private String dynamicsTopic;

    private Long dynamicsLike;

    private Long dynamicsCollect;

    private Long dynamicsShare;

    private String dynamicsComment;

    private String modifyUser;

    private Date modifyDate;

    private String status;

    private String image;

    private String img;

    @TableField(exist = false)
    private String startDate;//开始时间
    @TableField(exist = false)
    private String endDate;//结束时间


}